﻿using System.ComponentModel.DataAnnotations;

namespace Entity.BaseInfo.DTO.Department
{
    /// <summary>
    /// 部门表模型 - 更新
    /// </summary>
    public class DepartmentUpdateDTO
    {
        /// <summary>
        /// 部门id
        /// </summary>
        [Required(ErrorMessage = "部门Id不能为空")]
        public string Id { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        [Required(ErrorMessage = "部门名称Name不能为空")]
        public string Name { get; set; }
    }
}
